<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
 * 이벤트 내역 컨트롤러
 */
class Event_history extends CI_Controller {
	
	var $data = array();
	
	function __construct() {
		parent::__construct();
		$this->data['category']['main'] = $this->uri->segment(1);
		$this->data['category']['sub']  = $this->uri->segment(2);
		$this->data['sess_userinfo'] = $this->session->userdata('userinfo');

	}

	// Default
	function index() {
		log_message('debug', "@@@@ Event_history::index()");

		// 가입상품 요약 정보
		$this->load->model('mypage/Member_model', 'member', TRUE);
		$data['summary'] = $this->member->get_summary($this->data['sess_userinfo']['user_id']);
		$this->data['INC_SUMMARY'] = $this->load->view('inc/summary_v', $data, TRUE);

		
		$this->load->view('mypage/event_history_v', $this->data);
	}
}

/* End of file event_history.php */
/* Location: ./application/controllers/mypage/event_history.php */